package com.explorati.design_pattern.structural.decorator.example2;

public abstract class ADecorate extends IPancake{

	private IPancake pancake;
	
	public ADecorate(IPancake pancake){
		this.pancake = pancake;
	}
	
	public String getDesc(){
		return this.pancake.getDesc();
	}
	
	public int cost(){
		return this.pancake.cost();
	}
}
